{dede:config.pagesize value='20' /}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>留言管理</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
</head>
<body background="images/allbg.gif" leftmargin="8" topmargin='8'>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
  <tr>
    <td height="28" background="images/tbg.gif" colspan="7" style="padding-left:10px;"><b><a href="ad_main.php">留言管理</a></b>&nbsp;</td>
  </tr>
  <tr>
    <td height="28" colspan="7" style="padding-left:10px;" bgcolor="#FFFFFF"><table>
        <tr>
          <form action='message_main.php' method='get' name='form3' id="form3">
            <input type='hidden' name='dopost' value='listArchives' />
            <td><table width='900' border='0' cellpadding='0' cellspacing='0'>
                <tr>
                  <td width='90' align='center'>标题：</td>
                  <td width='124'><input type="text" name="title" style='width:150' value="<?php echo $title;?>"/>
                  </td>
                  <td width='100' align='center'>留言者：</td>
                  <td width='120'><input type="text" name="uname" style='width:150' value="<?php echo $uname;?>"/>
                  </td>
                  <td width='71'> 电话： </td>
                  <td width='105'><input type='text' name='tel' style='width:150' value="<?php echo $tel;?>"/></td>
                  <td width="130"><input name="imageField" type="image" src="images/button_search.gif" width="60" height="22" border="0" class="np" /></td>
                </tr>
              </table></td>
          </form>
        </tr>
      </table></td>
  </tr>
  <tr align="center"  bgcolor="#FBFCE2" height="24">
    <td width="8%">编号</td>
    <td width="20%">标题</td>
    <td width="20%">留言者</td>
    <td width="11%">电话</td>
    <td width="11%">添加时间</td>
    <td width="18%">管理</td>
  </tr>
  {dede:datalist}
  <tr align="center" bgcolor="#FFFFFF" height="24" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
    <td>{dede:field.id /}</td>
    <td>{dede:field.title /}</td>
    <td>{dede:field.uname /}</td>
    <td>{dede:field.tel/}</td>
    <td>{dede:field.dtime /}</td>
    <td><a href='message_main.php?id={dede:field.id /}&dopost=detail'>[详情]</a> <a href='message_main.php?id={dede:field.id /}&dopost=delete' onclick="if(confirm('确定要删除这个元素吗？')){ return true; }else { return false; }">[删除]</a> </td>
  </tr>
  {/dede:datalist}
  <tr align="center" bgcolor="#F9FCEF" height="24">
    <td colspan="7"> {dede:pagelist listsize=5/} </td>
  </tr>
</table>
</td>
</tr>
</table>
</body>
</html>
